package br.com.character.flex.chorm.core.annotation
{
    [Bindable]
    public class Column extends Annotation implements IColumn
    {
        private var _type:IType;
        private var _label:ILabel;
        private var _size:ISize;
        private var _required:IRequired;
        public function Column(n:String=null)
        {
            super(n);
        }

        public function get required():IRequired
        {
            return _required;
        }

        public function set required(value:IRequired):void
        {
            _required = value;
        }

        public function get size():ISize
        {
            return _size;
        }

        public function set size(value:ISize):void
        {
            _size = value;
        }

        public function get label():ILabel
        {
            return _label;
        }

        public function set label(value:ILabel):void
        {
            _label = value;
        }

        public function get type():IType
        {
            return _type;
        }

        public function set type(value:IType):void
        {
            _type = value;
        }
    }
}